﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" Inherits="Pages_Reservation_Sticky" Codebehind="Sticky.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="title" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="using" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="header" runat="Server">
    <a href="Calendar.aspx" title="Back button"><span id="backbutton">Back</span></a>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="content" runat="Server">
    <div style="margin: 10px 3px 0 3px">
        <h1 style="text-indent: 10px">
            Sticky</h1>
        <div style="margin: 15px">
            <table>
                <tr>
                    <td>
                        <div class="item">
                            <div class="label">
                                Sticky date:</div>
                            <div class="field">
                                <asp:HiddenField ID="hdfStickyID" runat="server" />
                                <asp:TextBox ID="txtStickyDate" runat="server" CssClass="datepicker"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*"
                                    SetFocusOnError="true" ControlToValidate="txtStickyDate"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="item fortextarea">
                            <div class="label">
                                Description:
                            </div>
                            <div class="field">
                                <asp:TextBox ID="txtDescription" runat="server" TextMode="MultiLine" Height="100"
                                    Width="365"></asp:TextBox>
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:LinkButton ID="btnSave" ToolTip="OK button" runat="server" OnClick="btnOK_Click"
                            CssClass="button"><span>OK</span></asp:LinkButton>
                        <asp:LinkButton ID="btnCancel" ToolTip="Remove button" runat="server" OnClick="btnCancel_Click"
                            CssClass="button"><span>Remove</span></asp:LinkButton>
                    </td>
                </tr>
            </table>
        </div>
    </div>

    <script type="text/javascript">

        $(function () {

            // Datepicker
            $(".datepicker").datepicker({
                //                minDate: '<%=DateTime.Now.ToShortDate() %>',
                onSelect: function () { }
            });
        });
    </script>

</asp:Content>
